package com.kl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2021-10-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("freight")
@ApiModel(value="Freight对象", description="")
public class Freight implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "快递类型 ( 1标准快递,特准快递,精准卡航,精准汽运等等)")
    private String expressType;

    @ApiModelProperty(value = "首重")
    private Double firstWeight;

    @ApiModelProperty(value = "续重")
    private Double continuedWeight;
    @ApiModelProperty(value = "续重单价kg")
    private BigDecimal continuedPrice;

    @ApiModelProperty(value = "运输起价")
    private BigDecimal startingPrice;

    @ApiModelProperty(value = "备注")
    private Integer remarks;

    @ApiModelProperty(value = "材质,地区,等因素导致的额外倍率")
    private Double multiple;

    @ApiModelProperty(value = "逻辑删除")
    private Integer deleted;


    @ApiModelProperty(value = "体积")
    private Integer volume;
    @ApiModelProperty(value = "体积单价")
    private Integer volumePrice;

}
